# RUN: llvm-mc --disassemble %s -triple=x86_64-apple-darwin9 | FileCheck %s

# CHECK: vcvtne2ps2bf16 %ymm24, %ymm23, %ymm22
0x62,0x82,0x47,0x20,0x72,0xf0

# CHECK: vcvtne2ps2bf16 %ymm24, %ymm23, %ymm22 {%k7}
0x62,0x82,0x47,0x27,0x72,0xf0

# CHECK: vcvtne2ps2bf16 %ymm24, %ymm23, %ymm22 {%k7} {z}
0x62,0x82,0x47,0xa7,0x72,0xf0

# CHECK: vcvtne2ps2bf16 %xmm24, %xmm23, %xmm22
0x62,0x82,0x47,0x00,0x72,0xf0

# CHECK: vcvtne2ps2bf16 %xmm24, %xmm23, %xmm22 {%k7}
0x62,0x82,0x47,0x07,0x72,0xf0

# CHECK: vcvtne2ps2bf16 %xmm24, %xmm23, %xmm22 {%k7} {z}
0x62,0x82,0x47,0x87,0x72,0xf0

# CHECK: vcvtne2ps2bf16  268435456(%rbp,%r14,8), %ymm23, %ymm22
0x62,0xa2,0x47,0x20,0x72,0xb4,0xf5,0x00,0x00,0x00,0x10

# CHECK: vcvtne2ps2bf16  291(%r8,%rax,4), %ymm23, %ymm22 {%k7}
0x62,0xc2,0x47,0x27,0x72,0xb4,0x80,0x23,0x01,0x00,0x00

# CHECK: vcvtne2ps2bf16  (%rip){1to8}, %ymm23, %ymm22
0x62,0xe2,0x47,0x30,0x72,0x35,0x00,0x00,0x00,0x00

# CHECK: vcvtne2ps2bf16  -1024(,%rbp,2), %ymm23, %ymm22
0x62,0xe2,0x47,0x20,0x72,0x34,0x6d,0x00,0xfc,0xff,0xff

# CHECK: vcvtne2ps2bf16  4064(%rcx), %ymm23, %ymm22 {%k7} {z}
0x62,0xe2,0x47,0xa7,0x72,0x71,0x7f

# CHECK: vcvtne2ps2bf16  -512(%rdx){1to8}, %ymm23, %ymm22 {%k7} {z}
0x62,0xe2,0x47,0xb7,0x72,0x72,0x80

# CHECK: vcvtne2ps2bf16  268435456(%rbp,%r14,8), %xmm23, %xmm22
0x62,0xa2,0x47,0x00,0x72,0xb4,0xf5,0x00,0x00,0x00,0x10

# CHECK: vcvtne2ps2bf16  291(%r8,%rax,4), %xmm23, %xmm22 {%k7}
0x62,0xc2,0x47,0x07,0x72,0xb4,0x80,0x23,0x01,0x00,0x00

# CHECK: vcvtne2ps2bf16  (%rip){1to4}, %xmm23, %xmm22
0x62,0xe2,0x47,0x10,0x72,0x35,0x00,0x00,0x00,0x00

# CHECK: vcvtne2ps2bf16  -512(,%rbp,2), %xmm23, %xmm22
0x62,0xe2,0x47,0x00,0x72,0x34,0x6d,0x00,0xfe,0xff,0xff

# CHECK: vcvtne2ps2bf16  2032(%rcx), %xmm23, %xmm22 {%k7} {z}
0x62,0xe2,0x47,0x87,0x72,0x71,0x7f

# CHECK: vcvtne2ps2bf16  -512(%rdx){1to4}, %xmm23, %xmm22 {%k7} {z}
0x62,0xe2,0x47,0x97,0x72,0x72,0x80

# CHECK: vcvtneps2bf16 %xmm23, %xmm22
0x62,0xa2,0x7e,0x08,0x72,0xf7

# CHECK: vcvtneps2bf16 %xmm23, %xmm22 {%k7}
0x62,0xa2,0x7e,0x0f,0x72,0xf7

# CHECK: vcvtneps2bf16 %xmm23, %xmm22 {%k7} {z}
0x62,0xa2,0x7e,0x8f,0x72,0xf7

# CHECK: vcvtneps2bf16 %ymm23, %xmm22
0x62,0xa2,0x7e,0x28,0x72,0xf7

# CHECK: vcvtneps2bf16 %ymm23, %xmm22 {%k7}
0x62,0xa2,0x7e,0x2f,0x72,0xf7

# CHECK: vcvtneps2bf16 %ymm23, %xmm22 {%k7} {z}
0x62,0xa2,0x7e,0xaf,0x72,0xf7

# CHECK: vcvtneps2bf16x  268435456(%rbp,%r14,8), %xmm22
0x62,0xa2,0x7e,0x08,0x72,0xb4,0xf5,0x00,0x00,0x00,0x10

# CHECK: vcvtneps2bf16x  291(%r8,%rax,4), %xmm22 {%k7}
0x62,0xc2,0x7e,0x0f,0x72,0xb4,0x80,0x23,0x01,0x00,0x00

# CHECK: vcvtneps2bf16  (%rip){1to4}, %xmm22
0x62,0xe2,0x7e,0x18,0x72,0x35,0x00,0x00,0x00,0x00

# CHECK: vcvtneps2bf16x  -512(,%rbp,2), %xmm22
0x62,0xe2,0x7e,0x08,0x72,0x34,0x6d,0x00,0xfe,0xff,0xff

# CHECK: vcvtneps2bf16x  2032(%rcx), %xmm22 {%k7} {z}
0x62,0xe2,0x7e,0x8f,0x72,0x71,0x7f

# CHECK: vcvtneps2bf16  -512(%rdx){1to4}, %xmm22 {%k7} {z}
0x62,0xe2,0x7e,0x9f,0x72,0x72,0x80

# CHECK: vcvtneps2bf16  (%rip){1to8}, %xmm22
0x62,0xe2,0x7e,0x38,0x72,0x35,0x00,0x00,0x00,0x00

# CHECK: vcvtneps2bf16y  -1024(,%rbp,2), %xmm22
0x62,0xe2,0x7e,0x28,0x72,0x34,0x6d,0x00,0xfc,0xff,0xff

# CHECK: vcvtneps2bf16y  4064(%rcx), %xmm22 {%k7} {z}
0x62,0xe2,0x7e,0xaf,0x72,0x71,0x7f

# CHECK: vcvtneps2bf16  -512(%rdx){1to8}, %xmm22 {%k7} {z}
0x62,0xe2,0x7e,0xbf,0x72,0x72,0x80

# CHECK: vdpbf16ps %ymm24, %ymm23, %ymm22
0x62,0x82,0x46,0x20,0x52,0xf0

# CHECK: vdpbf16ps %ymm24, %ymm23, %ymm22 {%k7}
0x62,0x82,0x46,0x27,0x52,0xf0

# CHECK: vdpbf16ps %ymm24, %ymm23, %ymm22 {%k7} {z}
0x62,0x82,0x46,0xa7,0x52,0xf0

# CHECK: vdpbf16ps %xmm24, %xmm23, %xmm22
0x62,0x82,0x46,0x00,0x52,0xf0

# CHECK: vdpbf16ps %xmm24, %xmm23, %xmm22 {%k7}
0x62,0x82,0x46,0x07,0x52,0xf0

# CHECK: vdpbf16ps %xmm24, %xmm23, %xmm22 {%k7} {z}
0x62,0x82,0x46,0x87,0x52,0xf0

# CHECK: vdpbf16ps  268435456(%rbp,%r14,8), %ymm23, %ymm22
0x62,0xa2,0x46,0x20,0x52,0xb4,0xf5,0x00,0x00,0x00,0x10

# CHECK: vdpbf16ps  291(%r8,%rax,4), %ymm23, %ymm22 {%k7}
0x62,0xc2,0x46,0x27,0x52,0xb4,0x80,0x23,0x01,0x00,0x00

# CHECK: vdpbf16ps  (%rip){1to8}, %ymm23, %ymm22
0x62,0xe2,0x46,0x30,0x52,0x35,0x00,0x00,0x00,0x00

# CHECK: vdpbf16ps  -1024(,%rbp,2), %ymm23, %ymm22
0x62,0xe2,0x46,0x20,0x52,0x34,0x6d,0x00,0xfc,0xff,0xff

# CHECK: vdpbf16ps  4064(%rcx), %ymm23, %ymm22 {%k7} {z}
0x62,0xe2,0x46,0xa7,0x52,0x71,0x7f

# CHECK: vdpbf16ps  -512(%rdx){1to8}, %ymm23, %ymm22 {%k7} {z}
0x62,0xe2,0x46,0xb7,0x52,0x72,0x80

# CHECK: vdpbf16ps  268435456(%rbp,%r14,8), %xmm23, %xmm22
0x62,0xa2,0x46,0x00,0x52,0xb4,0xf5,0x00,0x00,0x00,0x10

# CHECK: vdpbf16ps  291(%r8,%rax,4), %xmm23, %xmm22 {%k7}
0x62,0xc2,0x46,0x07,0x52,0xb4,0x80,0x23,0x01,0x00,0x00

# CHECK: vdpbf16ps  (%rip){1to4}, %xmm23, %xmm22
0x62,0xe2,0x46,0x10,0x52,0x35,0x00,0x00,0x00,0x00

# CHECK: vdpbf16ps  -512(,%rbp,2), %xmm23, %xmm22
0x62,0xe2,0x46,0x00,0x52,0x34,0x6d,0x00,0xfe,0xff,0xff

# CHECK: vdpbf16ps  2032(%rcx), %xmm23, %xmm22 {%k7} {z}
0x62,0xe2,0x46,0x87,0x52,0x71,0x7f

# CHECK: vdpbf16ps  -512(%rdx){1to4}, %xmm23, %xmm22 {%k7} {z}
0x62,0xe2,0x46,0x97,0x52,0x72,0x80

